#include <stdio.h>
int main()
{
    int i = 0;
    int a[10] = {1,2,3,4,5,6,7,8,9,10};
    int b[10] = {10,20,30,40,50,60,70,80,90,100};
    for(i = 0;i < 10;i++)
    {
        int k = a[i];
        a[i] = b[i];
        b[i] = k;
    }
    for(i = 0;i < 10;i++)
    {
        printf("%d ", a[i]);
    }
    printf("\n");
    for(i = 0;i < 10;i++)
    {
        printf("%d ", b[i]);
    }
    return 0;
}